<template>
	<view class="con">
		<view class="flex-ju-c flex-col center pt10vh pb40" style="border-bottom: 1px #E1E1E1 dashed;">
			<image mode="widthFix" class="image width231" src="/static/suu.png"></image>
			<view>兑换成功</view>
		</view>
		<view  class="borderE1E1E1 size26 ra20 pg30-20 mt20 mb150">
			<view class="size30 bold mb20 mt20">兑换信息</view>
			<view class="flex-ju-b">
				<view class="color999">兑换类型</view>
				<view v-if="type==1" class="">藏品兑换积分</view>
				<view v-else class="">积分兑换商品</view>
			</view>
		</view>
		
		<view class=" posifi width92vw bottom0 " >
			<view class="ra20 flex-ju-b pg30 bgfff height80"  style="box-shadow: 0rpx -8rpx 24rpx 0rpx rgba(0,0,0,0.06);">
				<view @click="tappays"  class="bold width1000 height100 bg000 colorfff ra20 flex-ju-c size29  ">
					前往兑换记录
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:0,
				unm:""
			}
		},
		onLoad(option) {
			this.type = option.type
			this.unm = option.unm
		},
		methods: {
			tappays(){
				uni.reLaunch({
					url:"/pages/jifen/mingxi"
				})
			}
		}
	}
</script>

<style>

</style>
